-
Notifications
You must be signed in to change notification settings - Fork 476
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Dependencies, Better Docker Support, and Segmentation Demo #480
base: master
Are you sure you want to change the base?
Conversation
Pinging @wondervictor as you may be able to review! |
unfortunately also this script is not free from bugs. => [final 6/6] RUN curl -o /yolo/weights/yolo_world_v2_x_obj365v1_goldg_cc3mlite_pretrain_1280ft-14996a36.pth -L https://huggingface.co/wondervictor/YOLO-World/resolve/main/yolo_world_v2_x 105.3s |
This PR introduces several significant improvements and updates to code surrounding the core YOLO-World project, addressing multiple issues and enhancing overall functionality and ease of use. When I finally got out of dependency hell, I decided to put down a ladder!
Key Changes
Dependency Updates:
Docker Support:
build_and_run.sh
script for easy building and running of Docker containers with different model configurations, matching configs to models, so no one else needs the headache I have.Segmentation Demo:
demo/segmentation_demo.py
to showcase YOLO-World's open vocabulary segmentation capabilities. The guts of which was stolen shamelessly form @onuralpszr 's excellent hugginface space, https://huggingface.co/spaces/onuralpszr/YOLO-World-Seg, which did not work but showed me enough to get this running.Issue Resolutions:
Tested Configurations:
pretrain-x-1280ft
, which performs excellently.seg-l
andseg-l-seghead
configurations, which show good performance but really work well with my use case ( :/ )Detailed Improvements
pyproject.toml
andrequirements
files with pinned dependency versions.How to Use
Users can now easily run YOLO-World demos, including the new segmentation demo, using the provided Docker build system. For example:
(note, while this is in MR, the fixes are not on master. So you have to replace this line in the dockerfile:
With this line:
Hopefully this PR will save the people who come after me significant amounts of time. Feedback and further testing is welcome!